3.10.61 \(\int (a+b x) (a c-b c x) \, dx\)

Optimal. Leaf size=18 \[ a^2 c x-\frac {1}{3} b^2 c x^3 \]

________________________________________________________________________________________

Rubi [A]  time = 0.00, antiderivative size = 18, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 1, integrand size = 15, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.067, Rules used = {41} \begin {gather*} a^2 c x-\frac {1}{3} b^2 c x^3 \end {gather*}

Antiderivative was successfully verified.

[In]

Int[(a + b*x)*(a*c - b*c*x),x]

[Out]

a^2*c*x - (b^2*c*x^3)/3

Rule 41

Int[((a_) + (b_.)*(x_))^(m_.)*((c_) + (d_.)*(x_))^(m_.), x_Symbol] :> Int[(a*c + b*d*x^2)^m, x] /; FreeQ[{a, b
, c, d, m}, x] && EqQ[b*c + a*d, 0] && (IntegerQ[m] || (GtQ[a, 0] && GtQ[c, 0]))

Rubi steps

\begin {align*} \int (a+b x) (a c-b c x) \, dx &=\int \left (a^2 c-b^2 c x^2\right ) \, dx\\ &=a^2 c x-\frac {1}{3} b^2 c x^3\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.00, size = 18, normalized size = 1.00 \begin {gather*} c \left (a^2 x-\frac {b^2 x^3}{3}\right ) \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[(a + b*x)*(a*c - b*c*x),x]

[Out]

c*(a^2*x - (b^2*x^3)/3)

________________________________________________________________________________________

IntegrateAlgebraic [F]  time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int (a+b x) (a c-b c x) \, dx \end {gather*}

Verification is not applicable to the result.

[In]

IntegrateAlgebraic[(a + b*x)*(a*c - b*c*x),x]

[Out]

IntegrateAlgebraic[(a + b*x)*(a*c - b*c*x), x]

________________________________________________________________________________________

fricas [A]  time = 1.03, size = 16, normalized size = 0.89 \begin {gather*} -\frac {1}{3} x^{3} c b^{2} + x c a^{2} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((b*x+a)*(-b*c*x+a*c),x, algorithm="fricas")

[Out]

-1/3*x^3*c*b^2 + x*c*a^2

________________________________________________________________________________________

giac [A]  time = 1.01, size = 16, normalized size = 0.89 \begin {gather*} -\frac {1}{3} \, b^{2} c x^{3} + a^{2} c x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((b*x+a)*(-b*c*x+a*c),x, algorithm="giac")

[Out]

-1/3*b^2*c*x^3 + a^2*c*x

________________________________________________________________________________________

maple [A]  time = 0.00, size = 17, normalized size = 0.94 \begin {gather*} -\frac {1}{3} b^{2} c \,x^{3}+a^{2} c x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((b*x+a)*(-b*c*x+a*c),x)

[Out]

a^2*c*x-1/3*b^2*c*x^3

________________________________________________________________________________________

maxima [A]  time = 1.35, size = 16, normalized size = 0.89 \begin {gather*} -\frac {1}{3} \, b^{2} c x^{3} + a^{2} c x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((b*x+a)*(-b*c*x+a*c),x, algorithm="maxima")

[Out]

-1/3*b^2*c*x^3 + a^2*c*x

________________________________________________________________________________________

mupad [B]  time = 0.02, size = 18, normalized size = 1.00 \begin {gather*} \frac {c\,x\,\left (3\,a^2-b^2\,x^2\right )}{3} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((a*c - b*c*x)*(a + b*x),x)

[Out]

(c*x*(3*a^2 - b^2*x^2))/3

________________________________________________________________________________________

sympy [A]  time = 0.06, size = 15, normalized size = 0.83 \begin {gather*} a^{2} c x - \frac {b^{2} c x^{3}}{3} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((b*x+a)*(-b*c*x+a*c),x)

[Out]

a**2*c*x - b**2*c*x**3/3

________________________________________________________________________________________